var tools = require('./main.js');

var a = {name:'chong',age:27};
var b = {sex:'男'}
var c = tools.extend(a,b);
console.log(c);